package com.lfy.auth.service;

import com.lfy.auth.domain.entity.UserEntity;
import com.lfy.common.result.R;
import org.springframework.web.multipart.MultipartFile;

public interface FileService {
    /**
     * 上传头像
     * @param user 用户
     * @param file 头像文件
     * @return R
     */
    R<String> up(UserEntity user, MultipartFile file);
}
